module ActiveSupport
  class TimeWithZone
    def as_json(options = {})
      time.strftime("%Y-%m-%d %H:%M")
    end
  end
end
